package model

type UserPaidTrack struct {
	Id         int64  `gorm:"id"`          // ID
	OrderNo    string `gorm:"order_no"`    // 订单号
	UserId     int64  `gorm:"user_id"`     // 用户ID
	AlbumId    int64  `gorm:"album_id"`    // 专辑id
	TrackId    int64  `gorm:"track_id"`    // 声音id
	CreateTime string `gorm:"create_time"` // 创建时间
	UpdateTime string `gorm:"update_time"`
	IsDeleted  int64  `gorm:"is_deleted"`
}

func NewUserPaidTrack() *UserPaidTrack {
	return &UserPaidTrack{}
}
func (*UserPaidTrack) TableName() string {
	return "user_paid_track"
}
